package com.yehaikeji.workflow.service;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.yehaikeji.workflow.bean.CountBean;
import com.yehaikeji.workflow.bean.Excelthing;
import com.yehaikeji.workflow.bean.thing;

public interface thingService {
	String inserthing(thing thing, Date createdate, String sendName, String accpetName, String sendUnitid,
			String accpetUnitid, String unitidc);

	List<thing> selectlistpage(String bname, Integer status, Integer typeid, String bphone, String thingname,
			String startDate, String endDate,String unitida,String unitidc);
	
	List<thing> countselectlist(Integer typeid,
			String startDate, String endDate,String unitida,Integer classify);

	List<Excelthing> selectDownloadPage(List<String> list);

	int deletethingthis(String thingid);

	String inserthingok(thing thing, Date createdate, String sendName, String accpetName, String sendUnitid,
			String accpetUnitid);

	List<CountBean> selectCount(String startDate, String endDate, int typeid);

	Map<String, Object> getrecordlisthistory(String thingid);
}
